#ifndef PROMPT_SHARED_H
#define PROMPT_SHARED_H


#define MAX_COMMAND_LINE_LENGTH 4096

#define PROMPT_END_PACKET        0x04 // = EOT

#define PROMPT_SERVER_ADDR "127.0.0.1"
#define PROMPT_SERVER_PORT 4315

#define PROMPT_SERVER_PID_FILE "/tmp/yopd.pid"

#define PROMPT_TIMEOUT 120

#define PROMPT_SET_LOG_LEVEL "log_level"

typedef enum _PROMPT_RETURN_VALUE
{ 
  PRV_OK,
  PRV_FAILED

}PROMPT_RETURN_VALUE;

typedef enum _PROMPT_COMMAND
{
  PC_GET,
  PC_SET,
  PC_LIST,
  PC_INFO,
  PC_DOWNLOAD,
  PC_UPLOAD,
  PC_CONNECT,
  PC_RAW,
  PC_SINK

}PROMPT_COMMAND;


#endif/*PROMPT_SHARED_H*/


